home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / gnucash / gnucash-2.6.5-setup.exe / {app} / share / themes / Mist / gtk-2.0 / gtkrc
Text File  |  2009-04-17  |  4KB  |  130 lines

  1. gtk-color-scheme =
  2. "bg_color:#eaeaea\nfg_color:#000\nbase_color:#fff\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:#729fcf"
  3.  
  4. style "default"
  5. {
  6.         fg[NORMAL]              = @fg_color
  7.         fg[ACTIVE]              = @fg_color
  8.         fg[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  9.  
  10.         fg[PRELIGHT]            = @fg_color
  11.         fg[SELECTED]            = @selected_fg_color
  12.         
  13.         bg[ACTIVE]              = shade (0.9, @bg_color)
  14.     bg[NORMAL]              = @bg_color
  15.         bg[INSENSITIVE]         = shade (0.95, @bg_color)
  16.         bg[PRELIGHT]            = shade (1.03, @bg_color)
  17.         bg[SELECTED]            = @selected_bg_color
  18.  
  19.         base[NORMAL]            = @base_color
  20.         base[ACTIVE]            = shade (0.9, @selected_bg_color)
  21.         base[INSENSITIVE]       = @base_color
  22.         base[PRELIGHT]          = @bg_color
  23.     base[SELECTED]          = @selected_bg_color
  24.         
  25.         text[NORMAL]            = @text_color
  26.         text[ACTIVE]            = @text_color
  27.         text[PRELIGHT]          = @text_color
  28.         text[SELECTED]          = @selected_fg_color
  29.         text[INSENSITIVE]       = mix (0.5, @text_color, @base_color)
  30.     
  31.  
  32.     GtkRange::trough_border = 0
  33.     GtkRange::slider_width = 15
  34.     GtkRange::stepper_size = 15
  35.  
  36.     GtkEntry::progress-border = { 0, 0, 0, 0 }
  37.  
  38.     GtkScrollbar::min_slider_length = 15
  39.     GtkCheckButton::indicator_size=10
  40.     GtkCheckMenuItem::indicator_size=10
  41.     GtkRadioButton::indicator_size=12
  42.  
  43.     GtkNotebook::tab_vborder = 1
  44.     GtkNotebook::tab_hborder = 1
  45.     xthickness = 1
  46.     ythickness = 1
  47.  
  48.     NautilusIconContainer::dark_info_color="#888888"
  49.     NautilusIconContainer::light_info_color="#bbbbbb"
  50.     NautilusIconContainer::highlight_alpha=200
  51.  
  52.     GtkMenu::horizontal_padding=0
  53.     GtkMenu::vertical_padding=0
  54.  
  55.     engine "mist"
  56.      {
  57.     }
  58. }
  59.  
  60. style "menuitem"
  61. {
  62.     ythickness = 2
  63.     xthickness = 2
  64.  
  65.         fg[PRELIGHT]          = @selected_fg_color
  66. }
  67.  
  68. style "menu" 
  69. {
  70.     ythickness = 2
  71.     xthickness = 2
  72.  
  73. style "entry"
  74. {
  75.     bg[SELECTED] = mix(0.35, @selected_bg_color, @base_color)
  76.     fg[SELECTED] = @text_color
  77. }
  78.  
  79. class "GtkWidget" style "default"
  80. class "GtkMenu" style "menu"
  81. class "GtkEntry" style "entry"
  82.  
  83. widget_class "*<GtkMenuItem>*" style "menuitem"
  84.  
  85.  
  86.  
  87. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  88. # Note that the work around assumes that the combobox is _not_ in
  89. # appears-as-list mode.
  90. # This style does not affect GtkComboBoxEntry, it does have an effect
  91. # on comboboxes in appears-as-list mode though.
  92. style "mist-text-is-fg-color-workaround"
  93. {
  94.         text[NORMAL]              = @fg_color
  95.         text[ACTIVE]              = @fg_color
  96.         text[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  97.         text[PRELIGHT]            = @fg_color
  98.         text[SELECTED]            = @selected_fg_color
  99. }
  100. widget_class "*.<GtkComboBox>.<GtkCellView>"   style "mist-text-is-fg-color-workaround"
  101.  
  102. style "mist-menuitem-text-is-fg-color-workaround"
  103. {
  104.         text[NORMAL]              = @fg_color
  105.         text[ACTIVE]              = @fg_color
  106.         text[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  107.         text[PRELIGHT]            = @selected_fg_color
  108.         text[SELECTED]            = @selected_fg_color
  109. }
  110. widget "*.gtk-combobox-popup-menu.*"   style "mist-menuitem-text-is-fg-color-workaround"
  111.  
  112. # Work around the usage of GtkLabel inside GtkListItems to display text.
  113. # This breaks because the label is shown on a background that is based on the
  114. # base color set.
  115. style "mist-fg-is-text-color-workaround"
  116. {
  117.         fg[NORMAL]            = @text_color
  118.         fg[ACTIVE]            = @text_color
  119.         fg[PRELIGHT]          = @text_color
  120.         fg[SELECTED]          = @selected_fg_color
  121.         fg[INSENSITIVE]       = mix (0.5, @text_color, @base_color)
  122. }
  123. widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
  124. # The same problem also exists for GtkCList and GtkCTree
  125. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  126. widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
  127.  
  128.  
  129.